﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using Workflow.Model;

namespace Workflow.IService
{
	public interface ITIdleDateService
	{
		/// <summary>
		/// 所有User取得（分页）
		/// </summary>
		IList<TIdleDate> GetTIdleDatesByPage(out long count, int pageIndex, int pageSize);

		/// <summary>
		/// 所有Holiday取得（分页）
		/// </summary>
		TIdleDate GetTIdleDateById(long id);

		/// <summary>
		/// 更新TIdleDate
		/// </summary>
		void SaveOrUpdateTIdleDate(TIdleDate model);

		/// <summary>
		/// 更新TIdleDate
		/// </summary>
		void DeleteTIdleDate(long model);

		void SaveTIdleDateList(DataTable dt);
		IList<TIdleDate> GetTIdleDatesByDate(DateTime date);
	}
}
